<?php
namespace app\admin\middleware;
class Base{
    public function handle($request, \Closure $next)
    {
        $request->limit = $request->param('limit/d',10);
        $request->page = $request->param('page/d',1);
        return $next($request);
    }
}